<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%- title %></title>
    <%- include conmon %>
</head>

<body>
    <!-- 头部结构 -->
    <%- include('header',{title:'register'}) %>

    <h2 class="text-info"> <%- title %> </h2>

    <div class="container-fluid">
        <div class="row">
            <div class="col-md-4">
                <!-- 注册表单 -->
                <form action="/users/register" method="POST">
                    <div class="form-group">
                        <label for="username">用户名</label>
                        <input type="text" name="username" class="form-control" id="username" placeholder="请输入用户名">
                    </div>
                    <div class="form-group">
                        <label for="nickname">昵称</label>
                        <input name="nickname" type="text" class="form-control" id="nickname" placeholder="请输入昵称">
                    </div>
                    <div class="form-group">
                        <label for="password">请输入密码</label>
                        <input name="password" type="password" class="form-control" id="password" placeholder="请输入密码">
                    </div>
                    <div class="form-group">
                        <label for="confirmpwd">请确认密码</label>
                        <input name="confirmpwdme" type="password" class="form-control" id="confirmpwd" placeholder="请输入确认密码">
                    </div>
                    <button type="submit" class="btn btn-info">注册</button>
                    <button type="reset" class="btn btn-primary">重置</button>
                </form>
            </div>
        </div>
    </div>


    <!-- 尾部结构 -->
    <%- include('footer',{title:"公用尾部结构"}) %>
</body>

</html>